<extend name="Public:index" />
<block name="main-crumb">
	<li>
		<a href="{:U(\'role/index\')}">角色列表</a>
	</li>
	<li class="active">角色权限设置</li>
</block>
<block name="main-content">
	<div class="container-fluid">
		<div class="row">
			<div class="col-12">
				<div class="card">
					<div class="card-body">
						<form action="__APP__/web/Role/rolemeun" method="post" class="definewidth m20">
							<table class="table table-bordered table-hover definewidth m10">
								<caption style="text-align:center">【{$rolename}】设置权限</caption>
								{$rMenu}
								<tr>
									<td>
										<input type="hidden" name="roleid" value="{$id}">
										<input type="hidden" name="rolename" value="{$rolename}">
										<button type="submit" class="btn btn_primary" id="sub" name="sub" type="button" value="保存">保存</button>
										&nbsp;&nbsp;
										<button type="reset" class="btn btn-success" type="reset">重置</button>
									</td>
								</tr>

							</table>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</block>
<block name="myscript">
	<script type="text/javascript" src="__PUBLIC__/web/js/rolemenu.js"></script>
</block>